Telegram Group & Telegram Channel
#вопрос264

Напишите функцию, которая будет принимать координаты двух точек на плоскости и возвращать длину отрезка, соединяющего эти точки.

Порядок передаваемых чисел — X, Y. Результат нужно округлить до сотых.

Примеры:

line_length([15, 7], [22, 11]) ➞ 8.06
line_length([0, 0], [0, 0]) ➞ 0
line_length([0, 0], [1, 1]) ➞ 1.41



tg-me.com/pythonjuniorjob/908
Create:
Last Update:

#вопрос264

Напишите функцию, которая будет принимать координаты двух точек на плоскости и возвращать длину отрезка, соединяющего эти точки.

Порядок передаваемых чисел — X, Y. Результат нужно округлить до сотых.

Примеры:

line_length([15, 7], [22, 11]) ➞ 8.06
line_length([0, 0], [0, 0]) ➞ 0
line_length([0, 0], [1, 1]) ➞ 1.41

BY Python вопросы на собеседовании с ответами


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonjuniorjob/908

View MORE
Open in Telegram


Python вопросы на собеседовании с ответами Telegram | DID YOU KNOW?

Date: |

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

Python вопросы на собеседовании с ответами from tr


Telegram Python вопросы на собеседовании с ответами
FROM USA